import request from '@/utils/request'

const API = {
    FILE_UPLOAD: '/article/common/upload', // 文件上传
}

export const reqFileUpload = (file) => request.post(API.FILE_UPLOAD, file, {
    headers: {
        'Content-Type': 'multipart/form-data'
    }
})
